package com.demo.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class UserVO implements Serializable {
    private String depId;
    private String depName;
    private List<SimpleUser> userList;

    public UserVO(String depId, String depName) {
        this.depId = depId;
        this.depName = depName;
        this.userList =new ArrayList<>();
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public List<SimpleUser> getUserList() {
        return userList;
    }

    public void setUserList(List<SimpleUser> userList) {
        this.userList = userList;
    }

   public static class SimpleUser{
        private String depId;
        private String depName;


       public SimpleUser(String depId, String depName) {
           this.depId = depId;
           this.depName = depName;
       }

       public String getDepId() {
           return depId;
       }

       public void setDepId(String depId) {
           this.depId = depId;
       }

       public String getDepName() {
           return depName;
       }

       public void setDepName(String depName) {
           this.depName = depName;
       }
   }
}
